package cn.webestar.scms.user.service.impl;

import cn.webestar.scms.user.entity.Role;
import cn.webestar.scms.user.mapper.RoleMapper;
import cn.webestar.scms.user.service.RoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 角色
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {

    @Override
    public List<Role> findByEmpId(Long empId) {
        return this.baseMapper.findByEmpId(empId);
    }

}